/*
 * Copyright (c) 2009 XMock contributors
 * This program is made available under the terms of the Apache License.
 */
package org.xmock.controller;

import org.apache.log4j.Logger;

public class DefaultMockFactory extends MockFactory
{
	private static final Logger logger = Logger.getLogger(DefaultMockFactory.class);
	public static DefaultMockFactory instance;
	
	public static DefaultMockFactory getInstance()
	{
		if(instance == null)
		{
			instance = new DefaultMockFactory();
		}
		return instance;
	}

	@Override
	public MockCaseManager createMockCaseManager() {
		return LocalMockCaseManager.getInstance();
	}

	@Override
	public MockObjectManager createMockObjectManager() {
		return LocalMockObjectManager.getInstance();
	}

}
